From: Keir Fraser Date: Mon, 26 Jan 2009 16:21:21 +0000 (+0000) Subject: x86_64: No restriction on Xen heap address width. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14014^2~14 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=c82ab382fa40a3ddb17617c44463b25fc404c1e7;p=xen.git x86_64: No restriction on Xen heap address width. Signed-off-by: Keir Fraser --- diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c index d8c67f513c..648fbd6971 100644 --- a/xen/common/page_alloc.c +++ b/xen/common/page_alloc.c @@ -703,8 +703,7 @@ void *alloc_xenheap_pages(unsigned int order) ASSERT(!in_irq()); pg = alloc_heap_pages( - MEMZONE_XEN+1, bits_to_zone(32), - cpu_to_node(smp_processor_id()), order); + MEMZONE_XEN+1, NR_ZONES-1, cpu_to_node(smp_processor_id()), order); if ( unlikely(pg == NULL) ) goto no_memory;